package com.ruoyi.common.base.enums;

/**
 * 操作类型
 *
 * @author ruoyi
 */
public enum OptTypeEnum {
    SELECT("0", "查询"),
    INSERT("1", "增加"),
    UPDATE("2", "修改"),
    DELETED("3", "删除");
    private final String code;
    private final String type;

    OptTypeEnum(String code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public String getType() {
        return type;
    }
}
